package com.neuedu;

import org.apache.hadoop.io.NullWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Reducer;

import java.io.IOException;

public class CityReducer extends Reducer<Text, NullWritable, Text,NullWritable> {
    private NullWritable outvalue = NullWritable.get();
    @Override
    protected void reduce(Text key, Iterable<NullWritable> values,Context context) throws IOException,InterruptedException{
        context.write(key,outvalue);
    }
}
